package com.zz.inventory.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zz.inventory.mapper.ExamClientsMapper;
import com.zz.inventory.domain.ExamClients;
import com.zz.inventory.service.IExamClientsService;

/**
 * 考试客户端关联Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-07-04
 */
@Service
public class ExamClientsServiceImpl implements IExamClientsService 
{
    @Autowired
    private ExamClientsMapper examClientsMapper;

    /**
     * 查询考试客户端关联
     * 
     * @param examClientId 考试客户端关联主键
     * @return 考试客户端关联
     */
    @Override
    public ExamClients selectExamClientsByExamClientId(Long examClientId)
    {
        return examClientsMapper.selectExamClientsByExamClientId(examClientId);
    }

    /**
     * 查询考试客户端关联列表
     * 
     * @param examClients 考试客户端关联
     * @return 考试客户端关联
     */
    @Override
    public List<ExamClients> selectExamClientsList(ExamClients examClients)
    {
        return examClientsMapper.selectExamClientsList(examClients);
    }

    /**
     * 新增考试客户端关联
     * 
     * @param examClients 考试客户端关联
     * @return 结果
     */
    @Override
    public int insertExamClients(ExamClients examClients)
    {
        return examClientsMapper.insertExamClients(examClients);
    }

    /**
     * 修改考试客户端关联
     * 
     * @param examClients 考试客户端关联
     * @return 结果
     */
    @Override
    public int updateExamClients(ExamClients examClients)
    {
        return examClientsMapper.updateExamClients(examClients);
    }

    /**
     * 批量删除考试客户端关联
     * 
     * @param examClientIds 需要删除的考试客户端关联主键
     * @return 结果
     */
    @Override
    public int deleteExamClientsByExamClientIds(Long[] examClientIds)
    {
        return examClientsMapper.deleteExamClientsByExamClientIds(examClientIds);
    }

    /**
     * 删除考试客户端关联信息
     * 
     * @param examClientId 考试客户端关联主键
     * @return 结果
     */
    @Override
    public int deleteExamClientsByExamClientId(Long examClientId)
    {
        return examClientsMapper.deleteExamClientsByExamClientId(examClientId);
    }
}
